css image align left

37

body {
  margin: 0;
}

#over img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
<img style="float: right;" alt="" src="http://example.com/image.png" />
<div style="text-align: left"><img src="image/your-image.png" width="100" /></div>Copy

Comments

Submit
0 Comments